//
//  STSerSetTableView.h
//  YiYueHairdresser
//
//  Created by zhouzhouzhou on 2018/9/30.
//  Copyright © 2018年 YuYiLian. All rights reserved.
//

#import <UIKit/UIKit.h>


@class STSerSetView;
@protocol STSerSetViewDelegate<NSObject>
-(void)serSerSelTimer;
-(void)serSetSaveWithData:(id)data;
-(void)serSelMainImg;

@end


@interface STSerSetView : UIView<UITableViewDataSource,UITableViewDelegate,UITextFieldDelegate>{
    UITableView * serSetTableView;
    NSMutableArray * arrSetCells;
    NSMutableArray * arrSetCellNames;
    
    UITextField * txtPrice;
    UITextField * txtIntroduce;
    id saveData;
}

@property(nonatomic,strong)NSString * serName;
@property(nonatomic,strong)NSString * serType;
@property(nonatomic,assign)BOOL isLoadData;//是否显示已有数据。 0=不显示，1显示 默认不显示
@property(nonatomic,strong)STServiceCategoryModel * serviceTypeData;//服务类目的数据
@property(nonatomic,strong)STServiceInfoModel * serviceModel;
@property(nonatomic,weak)id<STSerSetViewDelegate> delegate;

-(void)setNewSelTimer;
-(void)setSerViewWithData:(id)data;
-(void)setNewMainImg:(UIImage *)img;

@end
